package com.nowcoder.community.util;

public interface CommunityConstant {

    //激活成功
    int ACTIVATION_SUCCESS = 0;

    //重复激活
    int ACTIVATION_REPEAT = 1;

    //激活失败
    int ACTIVATION_FALLURE = 2;

    //正常状态下的登陆凭证的超时时间
    int DEFAULT_EXPIRED_SECONDE = 3600 * 12;

    //记住我之后的登录凭证的超时时间
    int REMEMBER_EXPRIRED_SECONDE = 3600 * 24 * 100;

    //实体类型：帖子
    int ENTITY_TYPE_POST = 1;

    //实体类型：评论
    int ENTITY_TYPE_COMMENT = 2;

    //实体类型：用户
    int ENTITY_TYPE_USER = 3;

}
